package com.yihaodian.search.broker.shard;

import java.io.Serializable;

import com.yihaodian.api.common.Response;
import com.yihaodian.api.search.SearchResponse;

public class ShardSearchResponse extends Response implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1406369772928711267L;
	
	private SearchResponse searchResponse;
	
	private String shardId;
	
	public ShardSearchResponse(String shardId,SearchResponse searchResponse) {
		this.shardId=shardId;
		this.searchResponse=searchResponse;
	}

	public String getShardId() {
		return shardId;
	}

	public void setShardId(String shardId) {
		this.shardId = shardId;
	}

	public SearchResponse getSearchResponse() {
		return searchResponse;
	}

	public void setSearchResponse(SearchResponse searchResponse) {
		this.searchResponse = searchResponse;
	}
	
	
}
